[INFO] cloning repository https://github.com/yasushisakai/dslr_capture
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yasushisakai/dslr_capture" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasushisakai%2Fdslr_capture", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasushisakai%2Fdslr_capture'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 98397324c7a31ea7aea104c4515cec3e21d433ad
[INFO] building yasushisakai/dslr_capture against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyasushisakai%2Fdslr_capture" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yasushisakai/dslr_capture on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yasushisakai/dslr_capture
[INFO] finished tweaking git repo https://github.com/yasushisakai/dslr_capture
[INFO] tweaked toml for git repo https://github.com/yasushisakai/dslr_capture written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/yasushisakai/dslr_capture already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/yasushisakai/gphoto-rs`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gphoto2-sys v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 58022d31c1c84d4da8b9c67d066806e818d3b09e69c208281e88f51b5d04c451
[INFO] running `Command { std: "docker" "start" "-a" "58022d31c1c84d4da8b9c67d066806e818d3b09e69c208281e88f51b5d04c451", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58022d31c1c84d4da8b9c67d066806e818d3b09e69c208281e88f51b5d04c451", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58022d31c1c84d4da8b9c67d066806e818d3b09e69c208281e88f51b5d04c451", kill_on_drop: false }`
[INFO] [stdout] 58022d31c1c84d4da8b9c67d066806e818d3b09e69c208281e88f51b5d04c451
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b767564d8a604f0eae2a53605dcbe57d1a152f7d5cbfd56173927a2dd5108379
[INFO] running `Command { std: "docker" "start" "-a" "b767564d8a604f0eae2a53605dcbe57d1a152f7d5cbfd56173927a2dd5108379", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.8.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling sdl2 v0.34.3
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling bytemuck v1.4.1
[INFO] [stderr]    Compiling sdl2-sys v0.34.3
[INFO] [stderr]    Compiling gphoto2-sys v0.1.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rayon v1.4.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling gphoto v0.1.2 (https://github.com/yasushisakai/gphoto-rs#dc382da4)
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling tiff v0.5.0
[INFO] [stderr]    Compiling png v0.16.7
[INFO] [stderr]    Compiling jpeg-decoder v0.1.20
[INFO] [stderr]    Compiling image v0.23.9
[INFO] [stderr]    Compiling dslr_capture v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `width` and `height` are never read
[INFO] [stdout]  --> src/camera.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Camera {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 8 |     width: u32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 9 |     height: u32,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_size` is never used
[INFO] [stdout]   --> src/camera.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn get_size(&self) -> (u32, u32) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_model` is never used
[INFO] [stdout]   --> src/camera.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 |     pub fn get_model(&mut self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcckdrS4/symbols.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.dslr_capture.9c88787c-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d.4iw028jcsybhc2r9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libimage-771096477d13e1c2.rlib" "/opt/rustwide/target/debug/deps/libbytemuck-720d150d3f9dd2a3.rlib" "/opt/rustwide/target/debug/deps/libpng-2dfccf2dcd36880f.rlib" "/opt/rustwide/target/debug/deps/libcrc32fast-97f2bfeb2b83083b.rlib" "/opt/rustwide/target/debug/deps/libdeflate-94a0b41b366646b9.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-ac8f3587e509efa5.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-6f291f720494464a.rlib" "/opt/rustwide/target/debug/deps/librayon-d83cffd48a24a8b4.rlib" "/opt/rustwide/target/debug/deps/librayon_core-4d5faf07dd6bbcc0.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-b59beab2d7a8f4b9.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-01a1e3a601f2671f.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-4233d6e5365c8bf1.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ff2bb1f39834214d.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-a02fd8fc659ff8e9.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-24be094624d2980f.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-6eeb474ed04b0fb7.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-75bf44047c6c4868.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-81c3651d70dd4895.rlib" "/opt/rustwide/target/debug/deps/libeither-8ed8bc54e89b5c30.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-d60964a8b5ca3771.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-5818821652b500f3.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-db6c214012c4dcc7.rlib" "/opt/rustwide/target/debug/deps/libgif-5400fd3ff02b6d20.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-efd96908fbcbc9d2.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b452eb72160bd155.rlib" "/opt/rustwide/target/debug/deps/libtiff-fc75fff899466739.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-de6f1c8ffae47eb4.rlib" "/opt/rustwide/target/debug/deps/libadler32-c955def959c5702b.rlib" "/opt/rustwide/target/debug/deps/liblzw-7b67818fa924d644.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-65be7507519f3778.rlib" "/opt/rustwide/target/debug/deps/libgphoto-b4ef4975f1335897.rlib" "/opt/rustwide/target/debug/deps/libgphoto2_sys-6a058f7230ea561e.rlib" "/opt/rustwide/target/debug/deps/libsdl2-b54c66b3cb9bea7f.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-455776500651e762.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/liblibc-4f4783b86777fc0d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lgphoto2" "-lgphoto2_port" "-lm" "-lSDL2" "-lSDL2_image" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/dslr_capture-6e743643b017db1d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_image
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dslr_capture` due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b767564d8a604f0eae2a53605dcbe57d1a152f7d5cbfd56173927a2dd5108379", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b767564d8a604f0eae2a53605dcbe57d1a152f7d5cbfd56173927a2dd5108379", kill_on_drop: false }`
[INFO] [stdout] b767564d8a604f0eae2a53605dcbe57d1a152f7d5cbfd56173927a2dd5108379
